package lib.com.Dao.entity;

import water.com.DbAuto.AutoTable;
import water.com.DbAuto.ColumnDefine;
import water.com.Ioc.WaterBean;
import lombok.Data;

/**
 * 对应数据库的User表
 */
@Data
@WaterBean
@AutoTable
public class User {
    @ColumnDefine(primaryKey = true,dataType = "int(11)",autoIncrement = true,defaultNull = false)
    private String userKey;
    private String userName;
    private String account;
    private String password;
    @ColumnDefine(dataType = "char(1)")
    private String status;
    @ColumnDefine(dataType = "char(1)")
    private String isEffective;
    @ColumnDefine(dataType = "varchar(26)")
    private String timeStamp;
}
